package cc.decat.escript.ir.statement;

import cc.decat.escript.ir.Node;
import cc.decat.escript.ir.Visitor;

public class BlockStatement extends Statement {

    private Node statementList;

    public BlockStatement(Node statementList) {
        this.statementList = statementList;
    }

    public Node getStatementList() {
        return statementList;
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
